import request from '@/utils/request'

// 查询建库列表
export function listBuildStorage(query) {
  return request({
    url: '/buildStorage/list',
    method: 'get',
    params: query
  })
}

export function delLsit(data) {
  return request({
    url: '/buildStorage/delList',
    method: 'post',
    data: data
  })
}
export function exportStorage(data) {
  return request({
    url: '/buildStorage/export',
    method: 'post',
    data: data
  })
}
export function updataStorageList(data) {
  return request({
    url: '/buildStorage/updataStorageList',
    method: 'post',
    data: data
  })
}
export function getCycle(batchId) {
  return request({
    url: '/buildStorage/getCycle/' + batchId,
    method: 'get'
  })
}
